package org.example.fastproject.web.sys.model.dto.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author 王海舟
 * @Date 2023/2/2 18:17
 * @PackageName:org.example.fastproject.web.sys.model.dto.menu
 * @ClassName: MenuInsertDto
 * @Description: 新增菜单
 * @Version 1.0
 */
@Data
@ApiModel(description = "新增菜单")
public class MenuInsertDto {
    @ApiModelProperty("父级菜单id（默认0）")
    private Long parentId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("菜单名")
    private String name;

    @ApiModelProperty("前端路径")
    private String frontPath;
}
